#ifndef __Quaternion_H__
#define __Quaternion_H__

#include "main.h"

typedef struct 
{
    double w;
    double x;
    double y;
    double z;
    double rx;
    double ry;
    double rz;
} Quaternion_TypeDef;

void euler_angle_matrix_update(Quaternion_TypeDef* q,double rx,double ry,double rz);
void euler_to_quaternion(Quaternion_TypeDef* q);

#endif
